package com.deekian.weixin.confirm;

import com.deekian.weixin.confirm.util.SimpleOkHttpUtils;

public class WeixinResponseException extends RuntimeException {
    public WeixinResponseException(int errCode, String errMsg) {
        super(errMsg);
        this.response = new ErrorResponse(errCode, errMsg);
    }
    public ErrorResponse response;
}

class ErrorResponse extends BaseResponse {
    protected ErrorResponse(int errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public int errCode;
    public String errMsg;
}